package com.webblog.service.blogMapClassify;

import com.webblog.dao.blogMapClassify.BlogMapClassifyMapper;
import com.webblog.pojo.BlogMapClassify;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BlogMapClassifyServiceImpl implements BlogMapClassifyService{

    @Autowired
    private BlogMapClassifyMapper blogMapClassifyMapper;

    public Integer add(BlogMapClassify bmc) {
        return blogMapClassifyMapper.insertMapper(bmc);
    }

    public Integer update(BlogMapClassify bmc) {
        return blogMapClassifyMapper.updateMapper(bmc);
    }

    public Integer removeMapper(int id) {
        return blogMapClassifyMapper.deleteMapper(id);
    }
}
